import request from '@/utils/request'

// 获取销量趋势数据
export function getSalesTrend(params) {
  return request({
    url: '/statistics/good/trend',
    method: 'get',
    params
  })
}

// 获取品类结构数据
export function getCategoryStructure(params) {
  return request({
    url: '/statistics/good/category',
    method: 'get',
    params
  })
}

// 获取SKU矩阵数据
export function getSkuMatrix(params) {
  return request({
    url: '/statistics/good/matrix',
    method: 'get',
    params
  })
}

// 获取综合统计数据
export function getSummaryData(params) {
  return request({
    url: '/statistics/good/summary',
    method: 'get',
    params
  })
}